package com.mindata.blockmanager.repository;

import com.mindata.blockmanager.model.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * User: jasperxgwang
 * Date: 2018-8-6 14:14
 */
public interface UserInfoRepository extends JpaRepository<UserInfo, Long> {

    /**
     * 获取用户
     *
     * @param username
     * @return
     */
    UserInfo findByUsername(String username);
}
